package com.example.redisDemo.dome2024614;

import org.springframework.data.util.Pair;

import java.util.*;


/**
 * @author hewen
 */


public class test {
    public static void main(String[] args) {
        StringBuffer str = new StringBuffer();

    }
    public static void swap(List<Integer> list,int i,int j){
        int a = list.get(i);
        int b = list.get(j);
        list.set(i,b);
        list.set(j,a);
    }

}